package work;

public class Book {
	private int book_id;          //图书编号
    private String book_name;      //书名
    private String book_author;   //作者
    private String book_press;   //出版社

    public void Book(int book_id, String book_name, String book_author, String book_press) {
        this.book_id = book_id;
        this.book_name = book_name;
        this.book_author = book_author;
        this.book_press = book_press;
    }

    public int getBook_id() {
        return book_id;
    }

    public void setBook_id(int book_id) {
        this.book_id = book_id;
    }

    public String getBook_name() {
        return book_name;
    }

    public void setBook_name(String book_name) {
        this.book_name = book_name;
    }

    public String getBook_author() {
        return book_author;
    }

    public void setBook_author(String book_author) {
        this.book_author = book_author;
    }

    public String getBook_press() {
        return book_press;
    }

    public void setBook_press(String book_press) {
        this.book_press = book_press;
    }}
